package pojo;

import javafx.beans.property.SimpleObjectProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.value.ObservableValue;

public class kechenghuanli {
    private String id;
    private String name;
    private String createtime;
    private String kechengchixushijian;
    private String jiaolian;
    private String kechengfeiyong;

    public kechenghuanli(String id, String name, String createtime, String kechengchixushijian, String jiaolian, String kechengfeiyong) {
        this.id = id;
        this.name = name;
        this.createtime = createtime;
        this.kechengchixushijian = kechengchixushijian;
        this.jiaolian = jiaolian;
        this.kechengfeiyong = kechengfeiyong;
    }

    public ObservableValue<String> nameProperty() {
        return new SimpleStringProperty(name);
    }

    public ObservableValue<String> idProperty() {
        return new SimpleObjectProperty<>(id);
    }

    public ObservableValue<String> createtimeProperty() {
        return new SimpleObjectProperty<>(createtime);
    }

    public ObservableValue<String> kechengchixushijianProperty() {
        return new SimpleStringProperty(kechengchixushijian);
    }
    public ObservableValue<String> jiaolianProperty() {
        return new SimpleStringProperty(jiaolian);
    }
    public ObservableValue<String> kechengfeiyongProperty() {
        return new SimpleStringProperty(kechengfeiyong);
    }
}
